package com.laxcen.smoke.service;

import com.github.pagehelper.PageInfo;
import com.laxcen.smoke.dto.res.RoleListRes;
import com.laxcen.smoke.util.Response;

public interface RolesService {

    Response insert(String name, String description, int available);

    Response update(long id, String name, String description, int available);

    Response delete(long id);

    Response deletemore(String id);

    Response<PageInfo<RoleListRes>> get(int pageNo, int pageSize);

    Response distribute(long roleid, String resourceid);

}
